#pragma once
 #define  RESOURCE_TYPE_CUBETXTURE 9
class WPENGIN_API CCubeTexture:  public CGraphicsFileResource
{
public:
	CCubeTexture(const TCHAR * resName,const TCHAR * szFilePath, 	D3DPOOL pool = D3DPOOL_DEFAULT);
	~CCubeTexture(void);
	virtual HRESULT OnD3D9ResetDevice( IDirect3DDevice9* pd3dDevice );
	virtual void OnD3D9LostDevice(); 
	 
		 virtual LPDIRECT3DBASETEXTURE9 GetTexture();
	private:
	LPDIRECT3DCUBETEXTURE9 m_pD3DCubeTexture;





};

